﻿using Hibiku.Twitter;

namespace Hibiku.Helpers
{
    public static class UrlHelper
    {
        public static void OpenLocation(Location location)
        {
            var url = string.Format("http://maps.google.com/maps?q={0},{1}", location.Latitude, location.Longitude);

            OpenUrl(url);
        }

        public static void OpenUrl(string url)
        {
            System.Diagnostics.Process.Start(url);
        }

    }
}
